package com.woniuxy.power.core.mapper;

import com.woniuxy.power.core.model.YdPower;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.power.core.model.YdStation;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gmx
 * @since 2021-06-29
 */
public interface YdPowerMapper extends BaseMapper<YdPower> {

    @Select("select * from yd_station where power_id = #{powerId}")
    List<YdStation> selectByStation(int powerId);
}
